Pdomain(2) Oct. 1, 1991 Pdomain(2) NAME Pdomain - get or set process execution domain SYNOPSIS WORD Pdomain( WORD dom ); DESCRIPTION Pdomain gets or sets the process execution domain. This is a number which controls the behavior of a process. The default domain is 0, which is the TOS compatibility domain and in which all system calls behave exactly as they do under TOS. Domain 1 is the MiNT domain; in this domain, the behavior of the Fread and Fwrite system calls when applied to terminals are controlled by the current terminal settings as esta- blished by the Fcntl system call. Moreover, file names returned from Fsfirst and Fsnext may be treated differently; MiNT domain processes are expected to be able to deal with file names that are not standard 8 character name + 3 char- acter extension, all upper case, DOS file names. If dom is greater than or equal to 0, the process domain is set to its value. Note that only domains 0 and 1 are currently defined, and the result of using a different (positive) number for dom is unpredictable. If dom is nega- tive, no change is made to the process domain. RETURNS The process domain at the time of the Pdomain call (i.e. before any change). Version 0.9 Last change: MiNT Programmer's Manual 1